<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="./common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0033)http://xm.ganji.com/vip/index.php -->
<HTML>
	<HEAD>
		<META content="IE=7.0000" http-equiv="X-UA-Compatible">
		<TITLE>会员中心——个人信息</TITLE>
		<META content="text/html; charset=utf-8" http-equiv=Content-Type>
		<LINK rel=stylesheet type=text/css href="css/vip.css">
		<META name=GENERATOR content="MSHTML 8.00.7601.17537">
	</HEAD>
	<BODY>
		<DIV class=blueBar></DIV>
		<DIV class="globalContainer clearfix">
			<!--header-->
			<DIV class=head>
				<DIV class=headNav>
					<SPAN class="fr viptop"><A class=pub
						href="<s:url action="goChooseTypeAction"></s:url>" target=_blank>免费发帖</A>
						<A href="<s:url action="goVipAction"><s:param name="userId"> 
                       			 	<s:property value="user.id"/> 
                    			</s:param> 
</s:url>"><s:property value="user.username" />
					</A> <A href="<s:url action="logoutAction"></s:url>">退出帐户</A> </SPAN><SPAN class=where><A
						href="<s:url action="goVipAction"></s:url>">会员中心首页</A>
					</SPAN>
				</DIV>
				<H1 class=vipLogo>
					<A title=返回首页 href="index.jsp"></A>
				</H1>
			</DIV>
			<!--end-->
			<DIV class=mainContainer>
					<DIV class=rightCol>
						<DIV class=right_top>
							<SPAN class="button on"><A class=btn-b
								href="<s:url action="goEditUserinfoAction"><s:param name="userId"> 
                       			 	<s:property value="user.id"/> 
                    			</s:param> 
</s:url>">个人信息</A>
							</SPAN><SPAN class=button><A class=btn-b
								href="<s:url action="goEditPasswordAction"><s:param name="userId"> 
                       			 	<s:property value="user.id"/> 
                    			</s:param> 
</s:url>">修改密码</A>
							</SPAN>
						</DIV>
						<DIV>
							<DIV class=rightBody>
								<DIV class=user-info>
									<DL class="mt5 clearfix">
										<DT>
<s:if test="userinfo.filelink!=null" ><IMG src="${ctx}/upload<s:property value="userinfo.filelink"/>"></s:if><s:else><IMG class=photo alt=头像 src="image/normal-headphoto.png"
												width=120 height=120> </s:else>

										</DT>
										<DD>
											<s:form action="updateInfoAction" method="post"
												enctype="multipart/form-data" onsubmit="return check(this);">
												<s:hidden name="userinfo.id"></s:hidden>
<TABLE class=t-info border=0 cellSpacing=0 cellPadding=0
													width="100%">
													<TBODY>
														<TR>
															<TD class=w03>
																用户名：
															</TD>
															<TD colSpan=2>
																<s:property value="user.username" />
															</TD>
														</TR>
														<TR>
															<TD>
																昵称：
															</TD>
															<TD colSpan=2>
																<s:textfield id="nickname" cssClass="input-text"
																	size="50" name="userinfo.nickname" />
															</TD>
														</TR>
														<TR>
															<TD>
																性别：
															</TD>
															<TD colSpan=2>
																<s:radio id="sex" name="userinfo.sex"
																	list="%{#{'男':'男','女':'女'}}" theme="simple"></s:radio>
																<SPAN style="WIDTH: 136px" id=tip_gender></SPAN>
															</TD>
														</TR>
														<TR>
															<TD>
																所在学院：
															</TD>
															<TD colSpan=2>
																<s:textfield id="school" cssClass="input-text" size="50"
																	name="userinfo.school" />
															</TD>
														</TR>
														<TR>
														<TR>
															<TD>
																所在楼栋：
															</TD>
															<TD colSpan=2>
																<s:textfield id="dorm" cssClass="input-text" size="50"
																	name="userinfo.dorm" />
															</TD>
														</TR>
														<TR>
														<TR>
															<TD>
																所在宿舍：
															</TD>
															<TD colSpan=2>
																<s:textfield id="room" cssClass="input-text" size="50"
																	name="userinfo.room" />
															</TD>
														</TR>
														<TR>
															<TD>
																邮箱：
															</TD>
															<TD colSpan=2>
																<s:textfield id="mail" cssClass="input-text" size="50"
																	name="userinfo.mail" />
															</TD>
														</TR>
														<TR>
															<TD>
																手机号码：
															</TD>
															<TD colSpan=2>
																<s:textfield id="mobile" cssClass="input-text" size="50"
																	name="userinfo.mobile" />
															</TD>
														</TR>

														<TR>
															<TD vAlign=top>
																更换头像：
															</TD>
															<TD colSpan=2>
																<s:file id="file" size="50" name="file"></s:file>
																</DIV>
															</TD>
														</TR>
														<TR>
															<TD>
																&nbsp;
															</TD>
															<TD colSpan=2></TD>
														</TR>
														<TR>
															<TD></TD>
															<TD colSpan=2>
																<s:submit cssClass="submit" id="submit" value="完成修改" />
																
															</TD>
														</TR>
													</TBODY>
												</TABLE>
											</s:form>

										</DD>
									</DL>
								</DIV>
							</DIV>
						</DIV>
					</DIV>
				<!--左侧菜单开始 -->
				<s:include value="include/leftside.jsp"></s:include>
				<!--左侧菜单结束 -->
			</DIV>
			<!--底部开始 -->
			<s:include value="include/footer.jsp"></s:include>

			<!--底部结束 -->
		</DIV>
		</SPAN>
	</BODY>
</HTML>
